package model;

/**
 * TTeacherInfo entity. @author MyEclipse Persistence Tools
 */

public class TTeacherInfo implements java.io.Serializable {

	// Fields
	private int teainfoid;
	private String userName;
	private String realName;
	private String sex;
	private String birthday;
	private String email;
	private String phone;
	private String tell;
	private String workTel;
	private String address;
	private String post;
	private String graduateSchool;
	private String entryTime;
	private boolean activeState;
	private int roleid;
	private String schoolid;
	private int userid;
	
	// Constructors

	public int getUserid() {
		return userid;
	}

	public void setUserid(int userid) {
		this.userid = userid;
	}

	/** default constructor */
	public TTeacherInfo() {
	}

	/** minimal constructor */
	public TTeacherInfo(String realName, String sex, String phone) {
		this.realName = realName;
		this.sex = sex;
		this.phone = phone;
	}

	/** full constructor */
	public TTeacherInfo(int teainfoid,String realName, String sex, String birthday,
			String email, String phone, String tell, String workTel,
			String address, String post, String graduateSchool,
			String entryTime, boolean activeState, int roleid,String schoolid, 
			int userid) {
		this.teainfoid=teainfoid;
		this.realName = realName;
		this.sex = sex;
		this.birthday = birthday;
		this.email = email;
		this.phone = phone;
		this.tell = tell;
		this.workTel = workTel;
		this.address = address;
		this.post = post;
		this.graduateSchool = graduateSchool;
		this.entryTime = entryTime;
		this.activeState = activeState;
		this.roleid = roleid;
		this.schoolid=schoolid;
		this.userid = userid;
	}

	// Property accessors
	public int getTeainfoid() {
		return teainfoid;
	}

	public void setTeainfoid(int teainfoid) {
		this.teainfoid = teainfoid;
	}
	
	public String getUserName() {
		return this.userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public String getRealName() {
		return this.realName;
	}

	public void setRealName(String realName) {
		this.realName = realName;
	}

	public String getSex() {
		return this.sex;
	}

	public void setSex(String sex) {
		this.sex = sex;
	}

	public String getBirthday() {
		return this.birthday;
	}

	public void setBirthday(String birthday) {
		this.birthday = birthday;
	}

	public String getEmail() {
		return this.email;
	}

	public void setEmail(String email) {
		this.email = email;
	}

	public String getPhone() {
		return this.phone;
	}

	public void setPhone(String phone) {
		this.phone = phone;
	}

	public String getTell() {
		return this.tell;
	}

	public void setTell(String tell) {
		this.tell = tell;
	}

	public String getWorkTel() {
		return this.workTel;
	}

	public void setWorkTel(String workTel) {
		this.workTel = workTel;
	}

	public String getAddress() {
		return this.address;
	}

	public void setAddress(String address) {
		this.address = address;
	}

	public String getPost() {
		return this.post;
	}

	public void setPost(String post) {
		this.post = post;
	}

	public String getGraduateSchool() {
		return this.graduateSchool;
	}

	public void setGraduateSchool(String graduateSchool) {
		this.graduateSchool = graduateSchool;
	}

	public String getEntryTime() {
		return this.entryTime;
	}

	public void setEntryTime(String entryTime) {
		this.entryTime = entryTime;
	}

	public boolean getActiveState() {
		return activeState;
	}

	public void setActiveState(boolean activeState) {
		this.activeState = activeState;
	}

	public int getRoleid() {
		return roleid;
	}

	public void setRoleid(int roleid) {
		this.roleid = roleid;
	}

	public String getSchoolid() {
		return schoolid;
	}

	public void setSchoolid(String schoolid) {
		this.schoolid = schoolid;
	}
	
	
}